package com.example.webmodule.entity;

import jakarta.validation.constraints.NotNull;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Accessors(chain = true)
@Builder
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@NoArgsConstructor
@Data
//@RequiredArgsConstructor
public class ServiceInfo {
    private String ip;
    private String port;
    private String instanceId;

    private String metadata;
    private String serviceId;
    private String scheme;
    private String uri;

    // 一下是Nacos 的属性（）
    private String healthy;

    List<ApiPathVo> openApiList;
}
